package com.itheima;

import java.util.Optional;

public class StudyJava8 {

    public static void main(String[] args) {

        Optional<String> optional = Optional.of("zhanghshanfeng");
        String s = Optional.ofNullable("zhanghshanfeng").orElse(null);
        System.out.println("");


    }
}
